package com.flower.hooc.mapper;

import com.flower.hooc.bean.pojo.entity.Order;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 订单数据接口
 *
 * @author hyorin
 * @date 2020.9.2
 */
@Component
public interface OrderMapper {

    /**
     * 查询用户订单信息
     *
     * @param id
     * @return
     */
    List<Order> selectOrderByUserId(Long id);
}
